package hibernate.mappings;

/**
 * MsDoc entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class MsDoc implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private Integer createtime;
	private Integer userid;
	private Integer nodeid;

	// Constructors

	/** default constructor */
	public MsDoc() {
	}

	/** minimal constructor */
	public MsDoc(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public MsDoc(Integer id, String title, Integer createtime, Integer userid,
			Integer nodeid) {
		this.id = id;
		this.title = title;
		this.createtime = createtime;
		this.userid = userid;
		this.nodeid = nodeid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Integer createtime) {
		this.createtime = createtime;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getNodeid() {
		return this.nodeid;
	}

	public void setNodeid(Integer nodeid) {
		this.nodeid = nodeid;
	}

}